﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once
#include <stdint.h>
#include "NdbDataSchema.h"

namespace gcmp
{
    /// \brief 文字水平对齐方式
    SERIALIZABLE_ENUM_CLASS(HorizontalAlignmentType)
    {
        Left = 0,           ///< 向左对齐
        Center = 1,         ///< 中间对齐
        Right = 2,          ///< 向右对齐
        Scatter = 3         ///< 分散对齐
    };

    /// \brief 文字竖直对齐方式
    SERIALIZABLE_ENUM_CLASS(VerticalAlignmentType)
    {
        Top = 0,           ///< 向上对齐
        Center = 1,        ///< 中间对齐
        Bottom = 2         ///< 向下对齐
    };
}